<#assign className = table.className>   
<#assign classNameLower = className?uncap_first> 
<?php

namespace Admin\Model;
use Think\Model;

class ${className}Model extends Model{
	protected $trueTableName = '${table.sqlName}';
	protected $_map = array(
	
	
	<#list table.columns as column>
	<#if column.pk>
	<#if !column.sqlNameEqualId>
	'id' => '${column.sqlName}',
	</#if>
	</#if>
	<#if !column.pk>
	<#if !column.columnNameLowerEqualSqlName>
	'${column.columnNameLower}' => '${column.sqlName}',
	</#if>
	</#if>
	</#list>
	
	);
}